home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
SMASTERS
/
APPROACH
/
SURFNET.MPR
/
SCRIPT
/
ApproachDoc
/
Edit Web Site
/
Body
/
txtWebsterBrowser.s
(
.txt
)
< prev
next >
Wrap
Null Bytes Alternating
|
1997-01-09
|
2KB
|
36 lines
'++LotusScript Development Environment:2:5:(Options):0:66
'++LotusScript Development Environment:2:5:(Forward):0:1
Declare Sub Click(Source As Textbox, X As Long, Y As Long, Flags As Long)
'++LotusScript Development Environment:2:5:(Declarations):0:2
'++LotusScript Development Environment:2:2:BindEvents:1:129
Private Sub BindEvents(Byval Objectname_ As String)
Static Source As TEXTBOX
Set Source = Bind(Objectname_)
On Event Click From Source Call Click
End Sub
'++LotusScript Development Environment:2:2:Click:1:12
Sub Click(Source As Textbox, X As Long, Y As Long, Flags As Long)
Dim rval As Integer 'Return value
On Error 11026 Goto NoWebtrek
strURL = "http://" & source.URL.text
If (Source.fldFirstDate.Text = "") Then
Source.fldFirstDate.Text = Str(Today())
End If
Source.fldLastDate.Text = Str(Today())
Set CurrentApplication.ActiveView = CurrentDocument.Webtrek~ Browser
rval = CurrentView.Body.oleWebtrek.LoadPage(strURL, 0)
Goto EndLoadPage
NoWebtrek:
Messagebox "You don't have the WebTrek browser installed. Go to Main Menu-Setup to install the WebTrek browser."
Resume EndLoadPage
EndLoadPage:
End Sub